<?php
class Messages{
	//
	const invalid_input = 'invalid input';
	const invalid_item = 'invalid item';
	const invalid_barcode = 'invalid barcode';
	
	const not_found_manufacturer = 'unable to find the manufacturer';
	const not_found_category = 'unable to find the category';

	const fail_to_create_category = 'failt to create a new category';
	const fail_to_create_manufacturer = 'failt to create a new manufacturer';
	const fail_to_create_item = 'failt to create a new item';


	const duplicate_barcode = 'duplicate barcode';
	const duplicate_category = 'duplicate category';
	const duplicate_manufacturer = 'duplicate manufacturer';
	const duplicate_branch = 'duplicate branch location';
	const duplicate_price_rule = 'duplicate percentage of current stock per minimum stock';
	 
	const success_update_item = 'sucessfully update item';
	const success_update_category = 'sucessfully update category';
	const success_update_manufacturer = 'sucessfully update manufacturer';
	const success_update_profile = 'sucessfully update user profile';
	const success_update_branch = 'sucessfully update branch\'s details';
	const success_update_price_rule = 'sucessfully update price rule';
	
	const success_create_profile = 'sucessfully create user profile';
	const success_create_category = 'sucessfully create a new category ';
	const success_create_manufacturer = 'sucessfully create a new manufacturer';
	const success_create_branch = 'sucessfully create a new branch';
	const success_create_price_rule = 'sucessfully create a new price rule';

	const fail_update_profile = 'fail to update user profile';
	const fail_update_category = 'fail to update user category';
	const fail_update_manufacturer = 'fail to update user manufacturer';
	const fail_update_branch = 'fail to update user branch';
	
	const fail_create_profile = 'fail to create the user';

	const unable_find_item = 'unable to find the item';
	const unable_find_category = 'unable to find the category';
	const unable_find_manufacturer = 'unable to find the manufacturer';
	const unable_find_branch = 'unable to find the branch';
	const unable_find_price_rule = 'unable to find the price rule';
	
	const request_has_been_approved = "request has been approved";
	const not_enough_stock = "not enough stock";
}